﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 商品做法表
    /// </summary>
    public partial class corecmsfooddetailtask
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public long storeId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodId", IsNullable = false)]
        public Int64 foodId { get; set; }

        /// <summary>
        /// 做法id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "taskId", IsNullable = true)]
        public Int64? taskId { get; set; }

        /// <summary>
        /// 是否默认
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDefault", IsNullable = true)]
        public bool? isDefault { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = true)]
        public bool? isDelete { get; set; }

        ///// <summary>
        ///// 是否必选
        ///// </summary>
        //[SqlSugar.SugarColumn(ColumnName = "isAvenue", IsNullable = true)]
        //public bool? isAvenue { get; set; }

        ///// <summary>
        ///// 必选数量
        ///// </summary>
        //[SqlSugar.SugarColumn(ColumnName = "quantity", IsNullable = true)]
        //public Int32 quantity { get; set; }

        ///// <summary>
        ///// 最多可选
        ///// </summary>
        //[SqlSugar.SugarColumn(ColumnName = "isMaxAvenue", IsNullable = true)]
        //public bool isMaxAvenue { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = true)]
        public DateTime? createTime { get; set; }

        /// <summary>
        /// 最多可选
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "selectType", IsNullable = true)]
        public Int32? selectType { get; set; }

        /// <summary>
        /// 最少可选数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "minQuantity", IsNullable = true)]
        public Int32? minQuantity { get; set; }

        /// <summary>
        /// 最多可选数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "maxQuantity", IsNullable = true)]
        public Int32? maxQuantity { get; set; }

        ///// <summary>
        ///// 是否可以多选
        ///// </summary>
        //[SqlSugar.SugarColumn(ColumnName = "isRepeat", IsNullable = true)]
        //public bool isRepeat { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime", IsNullable = true)]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }
    }
}
